<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GonzalesViewClaim.aspx.cs" Inherits="GonzalesViewClaim" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Print Preview</title>
    <link href="WebStyle.css" rel="stylesheet" type="text/css" />
	
    <link rel="stylesheet" href="js/windowfiles/dhtmlwindow.css" type="text/css" />
    <script type="text/javascript" src="js/windowfiles/dhtmlwindow.js">

    /***********************************************
    * DHTML Window Widget-  Dynamic Drive (www.dynamicdrive.com)
    * This notice must stay intact for legal use.
    * Visit http://www.dynamicdrive.com/ for full source code
    ***********************************************/

    </script>

    <link rel="stylesheet" href="js/modalfiles/modal.css" type="text/css" />
    <script type="text/javascript" src="js/modalfiles/modal.js"></script>
    <script type="text/javascript" src="js/modaltools.js"></script>
    <script language="javascript" type="text/javascript" src="js/specialgl.js"></script>    
		
</head>
<body>
<form id="form1" runat="server">
  <div>
    <table width="100%" border="0" cellspacing="1" cellpadding="8">
      <tr>
        <td class="PageTitle" style="height: 35px"><asp:Label ID="Label_PageTitle" Text='Claim Info' runat="server" />
        </td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellspacing="1" cellpadding="2">
          <tr>
            <td width="967" valign="top"><table width="100%" border="0" cellpadding="5" cellspacing="0" class="FormBorder">
              <tr>
                <td colspan="3" class="FormLineItemAlt"><asp:Image ID="Image_ActionLog" runat="server" ImageUrl="~/img/ico_detail.gif" /></td>
                <td align="right" class="FormLineItemAlt"></td>
              </tr>
              <tr>
                <td width="140" class="FormLineItem"><asp:Label CssClass="FormField" ID="Label_EmployeeName" runat="server" Text='Employee Name' /></td>
                <td width="39%" class="FormLineItem"><asp:Label CssClass="NormalBodyText" ID="LabelValue_EmployeeName" runat="server" /></td>
                <td width="140" class="FormLineItem"><asp:Label CssClass="FormField" ID="Label_Status" runat="server" Text='Status' /></td>
                <td width="29%" class="FormLineItem"><asp:Label CssClass="NormalBodyText" ID="LabelValue_Status" runat="server" /></td>
              </tr>
              <tr>
                <td class="FormLineItemAlt"><asp:Label CssClass="FormField" ID="Label_EmployeeNo" runat="server" Text='Employee No' /></td>
                <td class="FormLineItemAlt"><asp:Label CssClass="NormalBodyText" ID="LabelValue_EmployeeNo" runat="server" /></td>
                <td class="FormLineItemAlt"><asp:Label CssClass="FormField" ID="Label_Approver" runat="server" Text='Approver' /></td>
                <td class="FormLineItemAlt"><asp:Label CssClass="NormalBodyText" ID="LabelValue_Approver" runat="server" /></td>
              </tr>
              <tr>
                <td class="FormLineItem"><asp:Label CssClass="FormField" ID="Label_ClaimNum" runat="server" Text='Claim Number' /></td>
                <td class="FormLineItem"><asp:Label CssClass="NormalBodyText" ID="LabelValue_ClaimNo" runat="server" /></td>
                <td class="FormLineItem"><asp:Label CssClass="FormField" ID="Label_ProfitCenter" runat="server" Text='Profit Center' /></td>
                <td class="FormLineItem"><asp:Label CssClass="NormalBodyText" ID="LabelValue_ProfitCenter" runat="server" /></td>
              </tr>
              <tr>
                <td class="FormLineItemAlt"><asp:Label CssClass="FormField" ID="Label_Purpose" runat="server" Text='Purpose' /></td>
                <td class="FormLineItemAlt"><asp:Label CssClass="NormalBodyText" ID="LabelValue_Purpose" runat="server" /></td>
                <td class="FormLineItemAlt"></td>
                <td class="FormLineItemAlt"></td>
              </tr>
            </table>
                  <br />
                  <table border="0" cellpadding="5" cellspacing="1" class="FormBorder" width="650">
                    <tr>
                      <td class="GridViewItem"><asp:Label ID="Label1" runat="server" CssClass="FormField" Text="Total Amount in Local Currency:"></asp:Label></td>
                      <td align="right" class="GridViewItem" style="width: 200px"><asp:Label ID="LabelValue_TotalLocalAmount2"  Font-Size="12px" runat="server"></asp:Label></td>
                    </tr>
                    <tr>
                      <td class="GridViewItem"><asp:Label ID="Label3" runat="server" CssClass="FormField" Text="Less card transaction:"></asp:Label></td>
                      <td align="right" class="GridViewItem" style="width: 200px"><asp:Label ID="LabelValue_TotalAmountPaid2"  Font-Size="12px" runat="server"></asp:Label></td>
                    </tr>
                    <tr>
                      <td class="GridViewItem"><asp:Label ID="Label5" runat="server" CssClass="FormField" Text="Owning to/from employee"></asp:Label></td>
                      <td align="right" class="GridViewItem" style="width: 200px"><asp:Label ID="LabelValue_Owning2"  Font-Size="12px" runat="server"></asp:Label></td>
                    </tr>
                    <tr>
                      <td class="GridViewItem" colspan="2">&nbsp;</td>
                    </tr>
                    <tr>
                      <td class="GridViewItem" colspan="2"><asp:Button CssClass="FormButton" ID="Button_FileManager" runat="server" Text="Supporting Documents" />
                          <asp:Button ID="Button2" runat="server" CssClass="FormButton" Text="Print" />
                          <asp:Button CssClass="FormButton" ID="Button_PrinterFriendlyNameList1" runat="server" Text="Print Preview (Participant Lists)" /></td>
                    </tr>
                  </table>
                  <asp:CheckBox  ID="CheckBox1" runat="server" AutoPostBack="true"  OnCheckedChanged="CheckUncheckAll"/>
                  <br />
                  <table width="100%" border="0" cellpadding="2" cellspacing="0" class="FormBorder">
                    <tr>
                      <td align="right" class="TableResultCriteriaBar"><asp:DropDownList CssClass="FormDropDown" ID="DropDownList_SortBy" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList_SortBy_SelectedIndexChanged"></asp:DropDownList>
                          <asp:DropDownList CssClass="FormDropDown" ID="DropDownList_SortOrder" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList_SortOrder_SelectedIndexChanged"></asp:DropDownList></td>
                    </tr>
                    <tr>
                      <td><asp:GridView ID="GridViewResult" runat="server" OnRowCreated="OnRowCreated" AutoGenerateColumns="False" CssClass="FormBorder" Width="100%">
                          <Columns>
                          <asp:BoundField HeaderText="Expense Detail" DataField="ExpenseDetail" > </asp:BoundField>
                          <asp:BoundField DataField="DetailType" HtmlEncode="False" >
                            <ItemStyle HorizontalAlign="Center" />                            </asp:BoundField>
                          <asp:BoundField DataField="IsPersonal" HtmlEncode="False" >
                            <ItemStyle HorizontalAlign="Center" />                            </asp:BoundField>
                          <asp:BoundField DataField="Description" HeaderText="Credit Card Details" >
                            <ItemStyle HorizontalAlign="Center" />                            </asp:BoundField>
                          <asp:BoundField DataField="Remarks" HeaderText="Remarks" />
                          <asp:BoundField HeaderText="Date" DataField="DetailDateInStr" >
                            <ItemStyle HorizontalAlign="Center" />                            </asp:BoundField>
                          <asp:BoundField HeaderText="Country" DataField="Location" >
                            <ItemStyle HorizontalAlign="Center" />                            </asp:BoundField>
                          <asp:BoundField DataField="City" HeaderText="Receipt No." >
                            <ItemStyle HorizontalAlign="Center" />                            </asp:BoundField>
                          <asp:BoundField HeaderText="Claim Amount" DataField="ClaimedAmountInStr" >
                            <ItemStyle HorizontalAlign="Center" />                            </asp:BoundField>
                              <asp:BoundField DataField="Tax" HeaderText="Tax" />
                          <asp:BoundField HeaderText="Currency" DataField="ExRateCurrency" >
                            <ItemStyle HorizontalAlign="Center" />                            </asp:BoundField>
                          <asp:BoundField DataField="ExRate" HeaderText="Ex. Rate">
                            <ItemStyle HorizontalAlign="Center" />                            </asp:BoundField>
                          <asp:BoundField HeaderText="Local Amount" DataField="LocalAmountInStr" >
                            <ItemStyle HorizontalAlign="Center" />                            </asp:BoundField>
                          <asp:BoundField DataField="FinalAmountInStr" HeaderText="Final Amount">
                            <ItemStyle HorizontalAlign="Center" />                            </asp:BoundField>
                          <asp:BoundField HeaderText="Project ID" DataField="ProjectID" >
                            <ItemStyle HorizontalAlign="Center" />                            </asp:BoundField>
                          <asp:BoundField HeaderText="Charge To Profit Center" DataField="ChargeToProfitCenter" >
                            <ItemStyle HorizontalAlign="Center" />                            </asp:BoundField>
                          <asp:BoundField DataField="ChargeToEmployeeID" HeaderText="Charge To Employee ID" >
                            <ItemStyle HorizontalAlign="Center" />                            </asp:BoundField>
                          <asp:BoundField HeaderText="D" HtmlEncode="False" DataField="ShowDetail">
                            <ItemStyle HorizontalAlign="Center" />                            </asp:BoundField>
                          <asp:BoundField DataField="ApproverRemarks" HeaderText="Approver Remarks" />
                          <asp:BoundField DataField="FinanceRemarks" HeaderText="Finance Remarks" />
                          <asp:BoundField DataField="AuthorizerRemarks" HeaderText="Authorizer Remarks" />
                          <asp:BoundField DataField="FinanceApproverRemarks" HeaderText="Finance Approver Remarks" />
                          <asp:BoundField DataField="ApproverState" HtmlEncode="False" />
                          <asp:BoundField DataField="FAState" HtmlEncode="False" />
                          <asp:BoundField DataField="AuthorizerState" HtmlEncode="False" />
                          <asp:BoundField DataField="FinanceApprState" HtmlEncode="False" />
                          </Columns>
                          <RowStyle CssClass="GridViewItem" />
                          <HeaderStyle CssClass="GridViewHeader" />                          
</asp:GridView>                      </td>
                    </tr>
                  </table>
              <br />
              <table cellpadding="2" cellspacing="1" width="100%">
                <tr>
                    <td valign="top">
                    <!-- total -->
                  <table border="0" cellpadding="2" cellspacing="1" class="FormBorder" width="650">
                    <tr>
                      <td class="GridViewItem"><asp:Label ID="Label_TotalAmount" runat="server" CssClass="FormField" Text="Total Amount in Local Currency"></asp:Label></td>
                      <td align="right" class="GridViewItem" style="width: 200px"><asp:Label ID="LabelValue_TotalLocalAmount"  Font-Size="12px" runat="server"></asp:Label></td>
                    </tr>
                    <tr>
                      <td class="GridViewItem"><asp:Label ID="Label2" runat="server" CssClass="FormField" Text="Less Personal Expenses:"></asp:Label></td>
                      <td align="right" class="GridViewItem" style="width: 200px"><asp:Label ID="LabelValue_TotalPersonalExpenses" Font-Size="12px" runat="server"></asp:Label></td>
                    </tr>
                    <tr>
                      <td class="GridViewItem"><asp:Label ID="Label_TotalAmountLessPaid" runat="server" CssClass="FormField" Text="Less card transaction:"></asp:Label></td>
                      <td align="right" class="GridViewItem" style="width: 200px"><asp:Label ID="LabelValue_TotalAmountPaid" Font-Size="12px" runat="server"></asp:Label></td>
                    </tr>
                    <tr>
                      <td class="GridViewItem"><asp:Label ID="Label_OwningEmployee" runat="server" CssClass="FormField" Text="Owning to/from employee"></asp:Label></td>
                      <td align="right" class="GridViewItem" style="width: 200px"><asp:Label ID="LabelValue_Owning"  Font-Size="12px" runat="server"></asp:Label></td>
                    </tr>
                    <tr>
                      <td class="GridViewItem" colspan="2">&nbsp;</td>
                    </tr>
                    <tr>
                      <td class="GridViewItem" colspan="2"><asp:Button CssClass="FormButton" ID="Button1" runat="server" Text="Supporting Documents"  />
                          <asp:Button ID="Button_Print" runat="server" CssClass="FormButton" Text="Print" />
                          <asp:Button CssClass="FormButton" ID="Button_PrinterFriendlyNameList" runat="server" Text="Print Preview (Participant Lists)" /></td>
                    </tr>
                  </table>
                  </td>
                  
                 </tr>
                  <tr>
                      <td valign="top">
                    <asp:Table runat="server" ID="Table_History" CellPadding="2" CellSpacing="1" CssClass="FormBorder" Width="500">
                        <asp:TableRow>
                            <asp:TableCell CssClass="GridViewItem"><asp:Label ID="Label_ActionLog" runat="server" Font-Bold="true" Text = "Action Log"></asp:Label></asp:TableCell>
                        </asp:TableRow>
                    </asp:Table>
                      </td>
                  </tr>
                </table>                  
              <br />            </td>
          </tr>
        </table></td>
      </tr>
    </table>
  </div>
</form>
</body>
</html>
